<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
	
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:useBean id="str" type="java.lang.String" class="java.lang.String" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet"/>
        <title>Home page</title>
</head>
<body>
<c:set var="str" value="${type}"/>   
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">WSU Student Scheduler System</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
<li><a href="${pageContext.request.contextPath}/faculty/list.html">Faculty list</a></li>
<li><a href="${pageContext.request.contextPath}/register/list.html">Position list</a></li>

<c:if test='<%=str.equalsIgnoreCase("faculty")%>'>
<li><a href="${pageContext.request.contextPath}/register/create.html">Register create</a></li>		</c:if>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>

    <div class="container">

      <div class="starter-template">
      <br/>
      <br/>
        <h1>Welcome to the WSU Student Scheduler System</h1>
        <p class="lead">Use this system as a means to apply for positions at WSU.</p>
      </div>

    </div><!-- /.container -->


</body>
</html>